home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / binutils.7 / binutils / binutils-2.7 / include / mpw / dir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-04  |  347 b   |  24 lines

  1. /* The <dir.h> header gives the layout of a directory. */
  2.  
  3. #pragma once
  4.  
  5. #ifndef _DIR_H
  6. #define _DIR_H
  7.  
  8. #ifndef _TYPES_H        /* not quite right */
  9. #include <sys/types.h>
  10. #endif
  11.  
  12. #define    DIRBLKSIZ    512    /* size of directory block */
  13.  
  14. #ifndef DIRSIZ
  15. #define    DIRSIZ    14
  16. #endif
  17.  
  18. struct direct {
  19.   ino_t d_ino;
  20.   char d_name[DIRSIZ];
  21. };
  22.  
  23. #endif /* _DIR_H */
  24.